package src.com.foreknow.demo1;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;
import org.w3c.dom.ls.LSOutput;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        System.out.println("***********欢迎登陆***********");
        System.out.println("*********中国人民银行**********");
        System.out.println("*********         版本1.0*****");
        System.out.println("-----------------------------------");
        Scanner input = new Scanner(System.in);
        String name = input.next();
        String password = input.next();
        double money = input.nextDouble();
        System.out.println("请输入账号：");
        name = input.next();
        System.out.println("请输入密码：");
        password = input.next();
        System.out.println("账号名或密码错误，请重新输入。今日还剩余2次机会");
        System.out.println("请输入账号：");
        name = input.next();
        System.out.println("请输入密码：");
        password = input.next();
        System.out.println("账号名或密码错误，请重新输入。今日还剩余1次机会");
        System.out.println("请输入账号：");
        name = input.next();
        System.out.println("请输入密码：");
        password = input.next();
        System.out.println("密码错误3次，吞卡，请找老司机");


    }
}